package xin.marcher.wind.process.demo;

import xin.marcher.wind.process.processor.AbstractDynamicProcessor;
import xin.marcher.wind.process.processor.ProcessContext;

/**
 * @author marcher
 */
public class DynamicProcessorDemo extends AbstractDynamicProcessor {

    @Override
    protected void processInternal(ProcessContext context) {
        System.out.println("DynamicProcess " + context.get("id"));
    }

    @Override
    protected String nextNodeId(ProcessContext context) {
        return context.get("nextId");
    }
}

